package com.yztc.bean.classifydetail;

import java.util.List;

/**
 * Created by MengLingzhang on 2016/10/13.
 */
public class ClassifyDetailHeaderBean {

    /**
     * flag : 1
     * category_id : 521
     * name : 新鲜水果
     * imageurl : http://i3.chunboimg.com/group1/M00/09/8B/Cv4IdVbxHp-AcMpzAAa9WwEpA7M103_640_320.jpg
     * anhearturl : https://secureweb.chunbo.com/Act/2995?useragent=mobile&is_https=1
     * secondlevel : [{"category_id":"563","name":"最应季"},{"category_id":"529","name":"热带水果"},{"category_id":"627","name":"苹果.梨.香蕉"},{"category_id":"549","name":"奇异果"},{"category_id":"553","name":"车厘子·浆果类"},{"category_id":"635","name":"柑橘类"},{"category_id":"523","name":"桃李杏类"},{"category_id":"649","name":"瓜类"},{"category_id":"657","name":"礼盒"}]
     * actlist : [{"link_type":2,"link":"11943","image_url":"http://i2.chunboimg.com/group1/M00/22/AD/Cv4IdVfPf3GAXRjTAAEIeZRMEm0320_240_120.jpg"},{"link_type":2,"link":"5763","image_url":"http://i3.chunboimg.com/group1/M00/22/AD/Cv4IdVfPf8yAPNp5AAD7yKag7GU375_240_120.jpg"},{"link_type":2,"link":"7759","image_url":"http://i2.chunboimg.com/group1/M00/22/AF/Cv4IbFfPgB-AOSdiAADhWydThEY908_240_120.jpg"},{"link_type":2,"link":"7707","image_url":"http://i3.chunboimg.com/group1/M00/0E/C5/Cv4IdVcr6naAVP4WAADf352G5Cc096_240_120.jpg"},{"link_type":2,"link":"18151","image_url":"http://i2.chunboimg.com/group1/M00/0E/C6/Cv4IbFcr6X6AH7sfAAEYZkCtIrs083_240_120.jpg"}]
     */

    private int flag;
    private String category_id;
    private String name;
    private String imageurl;
    private String anhearturl;
    /**
     * category_id : 563
     * name : 最应季
     */

    private List<ClassifyDetailHeaderSecondlevelBean> secondlevel;
    /**
     * link_type : 2
     * link : 11943
     * image_url : http://i2.chunboimg.com/group1/M00/22/AD/Cv4IdVfPf3GAXRjTAAEIeZRMEm0320_240_120.jpg
     */

    private List<ClassifyDetailHeaderActlistBean> actlist;

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getCategory_id() {
        return category_id;
    }

    public void setCategory_id(String category_id) {
        this.category_id = category_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getAnhearturl() {
        return anhearturl;
    }

    public void setAnhearturl(String anhearturl) {
        this.anhearturl = anhearturl;
    }

    public List<ClassifyDetailHeaderSecondlevelBean> getSecondlevel() {
        return secondlevel;
    }

    public void setSecondlevel(List<ClassifyDetailHeaderSecondlevelBean> secondlevel) {
        this.secondlevel = secondlevel;
    }

    public List<ClassifyDetailHeaderActlistBean> getActlist() {
        return actlist;
    }

    public void setActlist(List<ClassifyDetailHeaderActlistBean> actlist) {
        this.actlist = actlist;
    }

    @Override
    public String toString() {
        return "ClassifyDetailHeaderBean{" +
                "flag=" + flag +
                ", category_id='" + category_id + '\'' +
                ", name='" + name + '\'' +
                ", imageurl='" + imageurl + '\'' +
                ", anhearturl='" + anhearturl + '\'' +
                ", secondlevel=" + secondlevel +
                ", actlist=" + actlist +
                '}';
    }
}
